import GlobeConfig from "@/const.js";

class UrlUtil {
    static getFullVideoUrl(fileName){
        //通过接口返回文件名拼接视频url
        const videoUrl = GlobeConfig.baseUrl + "/video_load/" + fileName;
        return videoUrl;
    }

    static getFullImgUrl(fileName){
        //通过接口返回文件名拼接图片url
        const imgUrl = GlobeConfig.baseUrl + "/cover_load/" + fileName;
        return imgUrl;
    }
}
export default UrlUtil;